/**
 *====================================================
 * 文件名称: EnterpriseGradeEntity.java
 * 修订记录：
 * No    日期				作者(操作:具体内容)
 * 1.    2015年10月24日			chenxy(创建:创建文件)
 *====================================================
 * 类描述：(说明未实现或其它不应生成javadoc的内容)
 */
package com.yuexunit.finance.member.entity;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @ClassName: EnterpriseGradeEntity
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author chenxy
 * @date 2015年10月24日 下午7:44:59
 */
@Entity
@Table(name = "FIN_ENTERPRISE_GRADE")
public class EnterpriseGradeEntity {

	/** 企业信息ID */
	@Id
	@Column(name = "ENTERPRISE_ID")
	private Long enterpriseId;

	/** 会员评估等级ID */
	@Column(name = "GRADE_EVALUATION_ID")
	private Long gradeEvaluationId;

	/** 会员等级ID */
	@Column(name = "MEMBER_GRADE_ID")
	private Long memberGradeId;

	/** 等级名称 */
	@Column(name = "GRADE_NAME")
	private String gradeName;

	/** 融资利率 */
	@Column(name = "INTEREST_RATE")
	private BigDecimal interestRate;

	/** 罚息利率 */
	@Column(name = "PENAL_INTEREST")
	private BigDecimal penalInterest;

	/** 授信额度 */
	@Column(name = "CREDIT_LINE")
	private BigDecimal creditLine;
	
	/** 已融资额度 */
	@Column(name = "CREDIT_ALREADY")
	private BigDecimal creditAlready;

	/** 有效起始时间(含) */
	@Column(name = "EFFECTIVE_START_D8")
	private Integer effectiveStartDate;

	/** 有效截止时间(含) */
	@Column(name = "EFFECTIVE_END_D8")
	private Integer effectiveEndDate;

	/** 是否有效 */
	@Column(name = "EFFECTIVE")
	private Boolean effective;

	public BigDecimal getCreditAlready() {
		return creditAlready;
	}

	public void setCreditAlready(BigDecimal creditAlready) {
		this.creditAlready = creditAlready;
	}

	public Long getEnterpriseId() {
		return enterpriseId;
	}

	public void setEnterpriseId(Long enterpriseId) {
		this.enterpriseId = enterpriseId;
	}

	public Long getGradeEvaluationId() {
		return gradeEvaluationId;
	}

	public void setGradeEvaluationId(Long gradeEvaluationId) {
		this.gradeEvaluationId = gradeEvaluationId;
	}

	public Long getMemberGradeId() {
		return memberGradeId;
	}

	public void setMemberGradeId(Long memberGradeId) {
		this.memberGradeId = memberGradeId;
	}

	public String getGradeName() {
		return gradeName;
	}

	public void setGradeName(String gradeName) {
		this.gradeName = gradeName;
	}

	public BigDecimal getInterestRate() {
		return interestRate;
	}

	public void setInterestRate(BigDecimal interestRate) {
		this.interestRate = interestRate;
	}

	public BigDecimal getPenalInterest() {
		return penalInterest;
	}

	public void setPenalInterest(BigDecimal penalInterest) {
		this.penalInterest = penalInterest;
	}

	public BigDecimal getCreditLine() {
		return creditLine;
	}

	public void setCreditLine(BigDecimal creditLine) {
		this.creditLine = creditLine;
	}

	public Integer getEffectiveStartDate() {
		return effectiveStartDate;
	}

	public void setEffectiveStartDate(Integer effectiveStartDate) {
		this.effectiveStartDate = effectiveStartDate;
	}

	public Integer getEffectiveEndDate() {
		return effectiveEndDate;
	}

	public void setEffectiveEndDate(Integer effectiveEndDate) {
		this.effectiveEndDate = effectiveEndDate;
	}

	public Boolean getEffective() {
		return effective;
	}

	public void setEffective(Boolean effective) {
		this.effective = effective;
	}

}
